package com.gxa.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.common.base.RespResult;
import com.gxa.order.dto.CommentDto;
import com.gxa.order.entity.AccommodationComments;
import com.gxa.order.entity.AccommodationOrder;

/**
* @author 陈书睿
* @description 针对表【accommodation_order】的数据库操作Service
* @createDate 2023-04-10 13:53:30
*/
public interface AccommodationOrderAppService extends IService<AccommodationOrder> {
    /**
     * 根据订单号修改订单支付状态
     * @param order_num
     * @return
     */
    RespResult updateOrderStatusByOrderNo(Long order_num,String status);

    //添加评论
    RespResult addComment(CommentDto commentDto);

    //添加评论图片
    int addImg(String s, int id);

    //查询订单支付信息
    RespResult selectpayorder(Long order_num);
}
